Make sure `gdkconfig.h' exists after the rule is fired.
authorRaja R Harinath <harinath@src.gnome.org>
Mon, 29 Mar 1999 00:15:02 +0000 (00:15 +0000)
committerRaja R Harinath <harinath@src.gnome.org>
Mon, 29 Mar 1999 00:15:02 +0000 (00:15 +0000)
commit32f6e0a4ce7df5383b24dfde8de94e2176920fa3
treec8ba4c9f52d8c2c7283c90436cbdad524f0b3155
parent55a5d2144de146f03e760a3bf5cef44d78f85524
Make sure `gdkconfig.h' exists after the rule is fired.

* gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
after the rule is fired.
(install-exec-local): Install gdkconfig.h only if the contents are
different from the currently installed gdkconfig.h.

Rationale:
`make install-exec' is meant to install files that go into
$exec_prefix, which includes `gdkconfig.h'.  However, developers use
`make install-exec' when they know that none of the headers have
changed, to prevent needless recompiles of other packages.  My
previous change of installing `*config.h' during `make install-exec'
undermines this, even though it is the right thing to do.  So, in the
spirit of "do the right thing first, optimize later", here's the
optimization.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/Makefile.am